import plotly_express as px

x_data = [0, 1, 2, 3, 4, 5]
y_data = [0, 1, 4, 9, 16, 25]
fig = px.scatter(
    x=x_data,  # x轴数据
    y=y_data,  # y轴数据
    color=y_data,  # 颜色参数
    text=x_data,  # 显示内容
)
fig.show()
